package com.good.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 大钊
 * @since 2022-09-04
 */
@TableName("admin_log")
@ApiModel(value = "AdminLog对象", description = "")
public class AdminLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("管理员id")
    private Long uid;

    @ApiModelProperty("插入时间")
    private LocalDateTime insertTime;

    @ApiModelProperty("日志说明")
    private String content;

    @ApiModelProperty("ip地址")
    private Long ip;

    @ApiModelProperty("访问接口url")
    private String url;

    @ApiModelProperty("模块id")
    private Integer moduleId;

    @ApiModelProperty("模块名称")
    private String moduleName;

    @ApiModelProperty("请求参数")
    private String param;

    @ApiModelProperty("请求方法")
    private String method;

    @ApiModelProperty("请求方式")
    private String methodType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }
    public LocalDateTime getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(LocalDateTime insertTime) {
        this.insertTime = insertTime;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getIp() {
        return ip;
    }

    public void setIp(Long ip) {
        this.ip = ip;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }
    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }
    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }
    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }
    public String getMethodType() {
        return methodType;
    }

    public void setMethodType(String methodType) {
        this.methodType = methodType;
    }

    @Override
    public String toString() {
        return "AdminLog{" +
            "id=" + id +
            ", uid=" + uid +
            ", insertTime=" + insertTime +
            ", content=" + content +
            ", ip=" + ip +
            ", url=" + url +
            ", moduleId=" + moduleId +
            ", moduleName=" + moduleName +
            ", param=" + param +
            ", method=" + method +
            ", methodType=" + methodType +
        "}";
    }
}
